package com.wn.inventory.mapper;

import com.wn.entity.InventoryBookkeeping;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/19 15:33
 * @ description：库存台账mapper
 * @ modified By：
 * @ version:
 */
@Repository
public interface InventoryBookkeepingMapper {
    /**
     * @param inventoryBookkeeping
     * @ return void
     * @ author nst
     * @ date 2022/10/19 16:12
     * @ Description 增加库存台账信息
     */
    void insert(InventoryBookkeeping inventoryBookkeeping);
    /**
     * @param inventoryBookkeeping
     * @return java.util.List<com.wn.entity.InventoryBookkeeping>
     * @ author nst
     * @ date 2022/10/19 19:04
     * @ Description 多条件查询库存台账表
     */
    List<InventoryBookkeeping> selectByCondition(InventoryBookkeeping inventoryBookkeeping);
    /**
     * @param inventoryBookkeeping
     * @return void
     * @ author nst
     * @ date 2022/10/20 9:54
     * @ Description 修改库存数量/库位/状态
     */
    void update(InventoryBookkeeping inventoryBookkeeping);
}